using Newtonsoft.Json; var jsonString = JsonConvert.SerializeObject(obj);
var json = new JavaScriptSerializer().Serialize(obj);
var result = JsonConvert.DeserializeObject<YourClass>(jsonstring);